package com.inexas.cu.server.pipe;

import com.google.gwt.user.server.rpc.*;
import com.google.inject.*;
import com.inexas.cu.client.pipe.*;

@Singleton
public class PipeServlet extends RemoteServiceServlet implements PipeService {
	private static final long serialVersionUID = -2810945986746042732L;
	private PipeServerEnd pipe;

	@Inject
	public void setPipe(PipeServerEnd pipe) {
		this.pipe = pipe;
	}

	public AbstractResponse process(AbstractRequest request) {
		return pipe.process(request);
	}

}
